﻿using System;

// Token: 0x020001EB RID: 491
public class StopEngageShootAction : ShooterAction
{
	// Token: 0x06000A69 RID: 2665 RVA: 0x0005A933 File Offset: 0x00058B33
	public StopEngageShootAction()
	{
		this.name = "StopEngageShoot";
	}

	// Token: 0x06000A6A RID: 2666 RVA: 0x0005A946 File Offset: 0x00058B46
	public override void StartAction()
	{
		this.shooterController = this.agent.gameObject.GetComponent<AIShooterController>();
		this.shooterController.StopSeekFiring();
	}

	// Token: 0x06000A6B RID: 2667 RVA: 0x0005A8BB File Offset: 0x00058ABB
	public override bool IsCompleted()
	{
		return this.hasStarted && !this.shooterController.isFiring;
	}
}
